cmake_minimum_required(VERSION 3.0)

project(unit_test)

add_definitions(-Wall -Wshadow -std=c++11 -g)

include_directories(./)
include_directories(./../)
include_directories(./../../loop_event/)
include_directories(/usr/local/include)
include_directories(/usr/include)

set(SRC_LIST ./redis_client_test.cpp)
set(OTHER_LIST ./)
aux_source_directory(./../../loop_event OTHER_LIST)
aux_source_directory(./../ OTHER_LIST)

add_executable(redis_message_unit_test redis_message_unit_test.cpp ./../redis_message.cpp)
add_executable(bench_test bench_test.cpp ./../redis_message.cpp)
add_executable(redis_client_test ${SRC_LIST} ./../../../util/about_time.cpp ${OTHER_LIST})
add_executable(redis_client_work redis_client_work.cpp ${OTHER_LIST})